package gz.copydatabase.Bean;

/**
 * Created by Administrator on 2017/11/30.
 */

public class Config {
    boolean reboot;
    int led;
    Display  display;
    public boolean isReboot() {
        return reboot;
    }

    public void setReboot(boolean reboot) {
        this.reboot = reboot;
    }

    public Display getDisplay() {
        return display;
    }

    public void setDisplay(Display display) {
        this.display = display;
    }
    public int getLed() {
        return led;
    }

    public void setLed(int led) {
        this.led = led;
    }

    @Override
    public String toString() {
        return "Config{" +
                "reboot=" + reboot +
                ", led=" + led +
                ", display=" + display +
                '}';
    }

    public static class Display{
        String lineEdit1;
        String lineEdit2;
        public String getLineEdit1() {
            return lineEdit1;
        }

        public void setLineEdit1(String lineEdit1) {
            this.lineEdit1 = lineEdit1;
        }

        public String getLineEdit2() {
            return lineEdit2;
        }

        public void setLineEdit2(String lineEdit2) {
            this.lineEdit2 = lineEdit2;
        }

        @Override
        public String toString() {
            return "Display{" +
                    "lineEdit1='" + lineEdit1 + '\'' +
                    ", lineEdit2='" + lineEdit2 + '\'' +
                    '}';
        }
    }
}
